package com.cleaningcloud.cld.domain;

import java.util.Date;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 物资调拨对象 cld_material_allocate
 * 
 * @author cleaningcloud
 * @date 2024-10-28
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CldMaterialAllocate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物资调拨ID */
    private Long materialAllocateId;

    /** 调拨单号 */
    @Excel(name = "调拨单号")
    private String materialOdd;

    /** 调出仓库ID */
    @Excel(name = "调出仓库ID")
    private Long materialOutId;

    /** 调出人 */
    @Excel(name = "调出人")
    private Long materialOutPerson;

    /** 调入仓库ID */
    @Excel(name = "调入仓库ID")
    private Long materialInId;

    /** 调入人 */
    @Excel(name = "调入人")
    private Long materialInPerson;

    /** 调拨时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "调拨时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date materialAllocateDate;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long createId;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 备注是否关闭 */
    @Excel(name = "备注是否关闭")
    private Long flag;

    /** 审批状态(0待审批1已通过2被驳回) */
    @Excel(name = "审批状态(0待审批1已通过2被驳回)")
    private Long approveStatus;

    /** 审批人ID */
    @Excel(name = "审批人ID")
    private Long approveId;

    /** 审批人名称 */
    @Excel(name = "审批人名称")
    private String approveName;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date approveTime;

    /** 驳回时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "驳回时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date rejectTime;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String rejectReason;

    /** 物资调拨(1个人/2项目) */
    @Excel(name = "物资调拨(1个人/2项目)")
    private Long allocateType;

    /** 确认时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "确认时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date confirmTime;

    /** 是否确认领用(0否1是) */
    @Excel(name = "是否确认领用(0否1是)")
    private Long isConfirm;


}
